import NotFound from '@/pages/Feedback/FeedbackNotFound';
import Home from '@/pages/Home';
import demo from './demo';
import commodityCenter from './commodityCenter';
import operationCenter from './operationCenter';
import sellerManage from './sellerManage';
import quoteManage from './quoteManage';
import logisticsManage from './logisticsManage';
import financeManage from './financeManage';
import baseManage from '@/routes/baseManage';

export default [
  ...baseManage, // 基础管理
  ...commodityCenter, // 商品中心
  ...operationCenter, // 运营中心
  ...sellerManage, // 卖家管理
  ...quoteManage, // 报价管理
  ...logisticsManage, // 物流管理
  ...financeManage, // 财务管理
  ...demo,
  {
    path: '/home',
    component: Home,
  },
  {
    path: '/',
    exact: true,
    redirect: '/home',
  },
  {
    component: NotFound,
  },
];
